#pragma once
#include <iostream>
#include <string>
#include <fstream>
#include <cassert>
#include <memory>
#include <vector>
#include <direct.h>

#include "ParticleTracking.h"

using namespace std;
class ParticleResultData  // by default, we only ouput particle time, velocity, and position
{
public:
	ParticleResultData() = default;
	ParticleResultData(const shared_ptr<ParticleTracking> mainParticleTracking0);
	void WriteToFile(); // write out particle tracking date to txt file
private:
	vector<vector<double>> pVx; // all particle tracking data of pVx
	vector<vector<double>> pVy; // all particle tracking data of pVy
	vector<vector<double>> pX; // all particle tracking data of pX
	vector<vector<double>> pY; // all particle tracking data of pY
	vector<vector<double>> pTime; // all particle tracking data of pTime
	vector<double> pDia; // all particle tracking data of pDia

	string GetOutputDirectory(string fileName); // get local output directory
};

